package com.greenova.theprojector.biz.services;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.greenova.theprojector.biz.entities.Project;
import com.greenova.theprojector.biz.entities.repository.ProjectRepository;

@Service
public class ProjectService {
	@Autowired
	private ProjectRepository projectRepository;
	
	public List<Project> findAll(){
		return projectRepository.findAll();
	}
}
